package com.dcivision.lucene.extractor;

import java.io.InputStream;

import com.dcivision.framework.ApplicationException;

public interface DocumentHandler {
  /**
  * Get a Lucene full text from an InputStream.
  * This method can return <code>null</code>.
  *
  * @param is the InputStream to convert to a text
  * @return document full text string
  */
  String getDocumentFullText(InputStream is) throws ApplicationException;
}
